Improving Exception Messages with ExceptionDoctor
نویسندگان
چکیده
Beginning programmers often have difficulty interpreting exceptions and using the associated messages to pinpoint the cause of incorrect program behavior. When an interactive development environment (IDE) presents a novice developer with a runtime time exception, it generally provides with a stack trace and a limited, cryptic exception message that is hard for a beginner to interpret. This paper describes ExceptionDoctor, a Java utility that solves this problem. ExceptionDoctor intercepts exceptions thrown by student code and improves the embedded exception messages to provide levelappropriate descriptions. ExceptionDoctor also examines the source code that produced the exception (if available) in order to describe the immediate cause of the exception in student-level terms.
منابع مشابه
Information Technology Exception Messages: A Proposed Set of Information Elements and Format for Consistency and Informativeness
Users of information technology (IT) frequently encounter “exception messages” during their interactions with computing systems. Exception messages are important points of communication with users of IT and are similar in principle to compliance and warning messages that appear on consumer products and equipment (e.g., cigarettes, power tools, etc.), in various environments (e.g., around machin...
متن کاملImproving type-error messages in functional languages
Although type systems do detect type errors in programs, they often produce uninformative error messages, that hardly give information about how to repair a program. One important shortcoming is the inability to highlight the most likely cause for the detected inconsistency. This paper presents a type inferencer with improved error reporting facilities, based on the construction of type constra...
متن کاملAn Accumulative Acknowledgment Protocol for Point-to-Multipoint High Speed Communications
This paper proposes and analyses the performance of a nite buuer point-to-multipoint selective repeat (SR) protocol with ac-cumulative acknowledgment. The proposed strategy is based on three key ideas. The rst is the use of accumulative acknowledgments in order to reduce the required processing overhead and implementation complexity. The second and third aim at improving the throughput eeciency...
متن کاملComputational Modeling of 2-sided Message’s Effects on Perceived Argument Strength
The aim of this research is studying of 2-sided message’s effects on persuasiveness of anti-drug messages by computational modeling method. It’s been done for getting more effective and more persuasive messages. Persuasiveness of messages is measured be perceived argument strength of them which is determined by audiences. In this research, according to formative researches, a method for measuri...
متن کامل